package com.atguigu.service;

import com.atguigu.dto.product.CategoryBrandDto;
import com.atguigu.entity.product.Brand;
import com.atguigu.entity.product.CategoryBrand;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryBrandService {
    List<Brand> findBrandByCategoryId(Long categoryId);

    void submit(CategoryBrand categoryBrand);

    PageInfo<CategoryBrand> page(Integer current, Integer limit, CategoryBrandDto categoryBrandDto);
}
